import axios from '../../http/request'

export function addCart(params: any) {
  return axios.post('/shop-cart', params);
}
//新增消息
export function addnotice(params: any) {
  return axios.post('/api/notices', params);
}
export function notice(params: any) {
  return axios.put('/api/notices', params);
}

//消息列表
export function noticelist(data: any) {
  return axios.get('/api/app/notices', {params:data});
}



//验证码
export function ssoCode(params: any) {
  return axios.post('/bounty-hunters/auth/sendCaptcha',  params );
}

//订单列表
export function myOrder(data: any) {
  return axios.get('/api/owner',  {params:data} );
}
//用户信息
export function userinfo(params: any) {
  return axios.post('/bounty-hunters/bus-user-operate/info', params);
}

//退出

export function loginOut(params: any) {
  return axios.post('/bounty-hunters/bus-user-operate/login-out', params);
}